//
//  UIViewoc.m
//  oc-wei
//
//  Created by xue-iOS-work on 16/8/31.
//  Copyright © 2016年 xue. All rights reserved.
//

#import "UIViewoc.h"

IB_DESIGNABLE
@implementation UIViewoc

- (void)setCornerRadius:(CGFloat)cornerRadius{
    _cornerRadius = cornerRadius;
    self.layer.cornerRadius  = _cornerRadius;
    self.layer.masksToBounds = YES;
}

- (void)setBcolor:(UIColor *)bcolor{
    _bcolor = bcolor;
    self.layer.borderColor = _bcolor.CGColor;
}

- (void)setBwidth:(CGFloat)bwidth {
    _bwidth = bwidth;
    self.layer.borderWidth = _bwidth;
}
@end
